#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# TÜBİTAK/UEAKE
# Gökmen GÖKSEL (2008) <gokmen@pardus.org.tr>

import Exceptions

class Preconditions:

    def pathExists(path):
        if not os.path.exists(path):
            raise Exceptions.DoesntExists, "Path : '%s' doesnt exists !" % path

